<!-- 人人钱包下载页面 -->
<template>

  <div class="pag" >
    <div class="d-wrap">
      <img src="~assets/images/download/bg1.png" alt="" class="banner">
      <img src="~assets/images/download/logo.png" alt="" class="logo">
      <div class="w-txt">APP下载</div>
      <a class="d-btn and-ico" :href="andUrl"  download="yyets-wallet">安卓用户下载</a>
      <a class="d-btn ios-ico" :href="iosUrl"   download="yyets-wallet" >苹果用户下载</a>
      <div class="qr-code">
        <img src="~assets/images/download/code.png" alt="">
        <p>通过扫码下载</p>
      </div>
    </div>
  </div>

</template>

<script>
  export default {
    data() {
      return {
        iosUrl: 'https://testflight.apple.com/join/HtU1EG7M',
        andUrl: 'http://appdown.rrys.tv/yqb_latest.apk'
      }
    },
    methods: {
      dwIos(){
        return
        this.$warn('软件审核中，近期开放下载')
      }
    }
  }
</script>

<style lang="scss" scoped>
  @import "~common/scss/variable";
  @import "~common/scss/mixin";

  .pag {
    height: 100%;
    overflow-y: auto;
  }

  .d-wrap {
    background: #fff;
    padding-bottom: 25px;
  }

  .banner {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: -77px;
  }

  .logo {
    display: block;
    position: relative;
    margin: 0 auto 20px auto;
    width: 312px;
    height: 278px;
  }

  .w-txt {
    font-size: 30px;
    color: #4D5171;
    text-align: center;
    margin-bottom: 26px;
    &::before{
      content: '';
      width:50px;
      height:1px;
      background:rgba(77,80,114,1);
      border-radius:50%;
      margin-right: 12px;
      display: inline-block;
      vertical-align: middle;
    }
    &::after{
      content: '';
      width:50px;
      height:1px;
      background:rgba(77,80,114,1);
      border-radius:50%;
      margin-left: 12px;
      display: inline-block;
      vertical-align: middle;
    }
  }

  .d-btn {
    width:524px;
    height:88px;
    background:rgba(23,62,143,1);
    border-radius:44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    margin: 0 auto 26px auto;
    &::before{
      content: '';
      margin-right: 16px;
      background: no-repeat center center;
      background-size: contain;
    }
  }

  .and-ico {
    &::before{
      background-image: url("~assets/images/download/a.png");
      width:30px;
      height:34px;
    }
  }

  .ios-ico {
    &::before{
      background-image: url("~assets/images/download/i.png");
      width:29px;
      height:34px;
    }
  }

  .qr-code {
    img {
      display: block;
      width:220px;
      height:220px;
      margin: 34px auto 11px auto;
    }
    p {
      font-size: 32px;
      color: #4D5171;
      text-align: center;
    }
  }


</style>

